#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;
int main()
{
    int h, m;
    char c;
    cin >> h >> c >> m;
    if (h > 12 && h <= 23)
    {
        for (int i = 0;i < h % 12;i++)
        {
            cout << "Dang";
        }
        if (m > 0)
        {
            cout << "Dang" << endl;
        }
    }
    else if (h == 12 && m != 0)
    {
        cout << "Dang" << endl;
    }
    else {
        printf("Only %02d:%02d.  ", h, m);
        cout << "Too early to Dang." << endl;
    }
    return 0;
}